package basic.flow 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author nease@163.com
	 */
	public class FlowEvent extends Event 
	{
		/**
		 * 该流程成功事件
		 */
		public static const SUCCESS:String = "success";
		/**
		 * 该流程失败事件
		 */
		public static const FAULT:String = "fault";
		
		public function FlowEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
		} 
		
		public override function clone():Event 
		{ 
			return new FlowEvent(type, bubbles, cancelable);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("FlowEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}